import APIClientService from '../clientService/apiService'
import { publicWork } from '../resource/https.js';


// "Content-Type": "application/json;charset=UTF-8"
// "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"




// 首页接口
export const homeApi = (params) => {
  return APIClientService.REQUESTGET( publicWork.homeApi, params)
};
// 文章列表
export const listApi = (params) => {
  return APIClientService.REQUESTGET( publicWork.listApi, params)
};
// 文章详情
export const detailsApi = (params) => {
  return APIClientService.REQUESTGET( publicWork.detailsApi, params)
};
// 搜索
export const searchApi = (params) => {
  return APIClientService.REQUESTGET( publicWork.searchApi, params)
};
// 热门排行榜
export const hotApi = (params) => {
  return APIClientService.REQUESTGET( publicWork.hotApi, params)
};
// 获取分类详情
export const menuInfoApi = (params) => {
  return APIClientService.REQUESTGET( publicWork.menuInfoApi, params)
};
// 小程序菜单
export const menuApi = (params) => {
  return APIClientService.REQUESTGET( publicWork.menuApi, params)
};

